// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.3.0

package CustomerRelationsManagement;

/**
 *
 * @author Administrator
 */
public final class orderHolder
{
    /**
     *
     */
    public
    orderHolder()
    {
    }

    /**
     *
     * @param value
     */
    public
    orderHolder(order value)
    {
        this.value = value;
    }

    /**
     *
     */
    public class Patcher implements IceInternal.Patcher
    {
        /**
         *
         * @param v
         */
        public void
        patch(Ice.Object v)
        {
            try
            {
                value = (order)v;
            }
            catch(ClassCastException ex)
            {
                IceInternal.Ex.throwUOE(type(), v.ice_id());
            }
        }

        /**
         *
         * @return
         */
        public String
        type()
        {
            return "::CustomerRelationsManagement::order";
        }
    }

    /**
     *
     * @return
     */
    public Patcher
    getPatcher()
    {
        return new Patcher();
    }

    /**
     *
     */
    public order value;
}
